package com.zkthink.ceres.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@ApiModel("列表返回对象")
public class AdminProductPageVO implements Serializable {

    private static final long serialVersionUID = 1L;

    public AdminProductPageVO(){
        this.total = 0;
        this.adminProductVOList = Collections.emptyList();
    }

    @ApiModelProperty("商品列表")
    private List<AdminProductVO> adminProductVOList;

    @ApiModelProperty("总数")
    private Integer total;
}
